from django.conf.urls.defaults import *
import os

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^HappyCouple/', include('HappyCouple.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
    (r'^index/',include('HappyCouple.myindex.urls')),
    (r'^budget/',include('HappyCouple.budget.urls')),
    (r'^scheduler/',include('HappyCouple.scheduler.urls')),
    (r'^attention/',include('HappyCouple.attention.urls')),
    (r'^css/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.path.join(os.path.dirname(__file__), 'templates/css').replace('\\','/'),}), 
    (r'^script/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.path.join(os.path.dirname(__file__), 'templates/script').replace('\\','/'),}), 
    (r'^img/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.path.join(os.path.dirname(__file__), 'templates/img').replace('\\','/'),}),
)
